#ifndef LEVEL_H
#define LEVEL_H

#include "box.h"
#include "game.h"
#include <QVector>
#include <QFile>
#include <QTextStream>

class Level
{
public:
    Level(int, QString);
    void changeLevel(int);
    int getRW(int,int);
    int getLW(int,int);
    int getFlY(int,int);
    int getFlX(int,int);
    int getTop(int,int);
    bool getSpikes(int,int);

private:
    QVector<Box*> boxes;
    QVector<Box*> spikes;
    int wall;
    QString filenameBase, filename;

};

#endif // LEVEL_H
